package model;



public class EstHarcele extends Action{
	Ind_Proie proie;
	public EstHarcele(Ind_Proie _proie){
		super(null);
		priority = 0;
		proie=_proie;
	}

	@Override
	protected void updatePriority() {
		if(proie.estHarcelee)
			priority=20;
		else
			priority=0;
		
	}

	@Override
	protected void doAction() {
		proie.heureAttack=MonTimer.getHeuresCount();
	}
}
